package com.jiajia.study.member.feign;

import com.jiajia.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * feign 远程调用 coupon 接口组件
 * @author zjiajia
 * @date 2025/6/10 11:28
 */

@FeignClient("gulimall-coupon")
@Component
public interface CouponFeignService {

    @GetMapping("coupon/coupon/feign/member/list")
    public R memberCoupons();
}
